home *** CD-ROM | disk | FTP | other *** search
- /*
- File: Timer.h
-
- Copyright: © 1983-1993 by Apple Computer, Inc.
- All rights reserved.
-
- Version: System 7.1 for ETO #11
- Created: Tuesday, March 30, 1993 18:00
-
- */
-
- #ifndef __TIMER__
- #define __TIMER__
-
- #ifndef __TYPES__
- #include <Types.h>
- #endif
-
- #ifndef __OSUTILS__
- #include <OSUtils.h>
- #endif
-
-
- typedef pascal void (*TimerProcPtr)(void);
-
- struct TMTask {
- QElemPtr qLink;
- short qType;
- TimerProcPtr tmAddr;
- long tmCount;
- long tmWakeUp;
- long tmReserved;
- };
-
- typedef struct TMTask TMTask;
- typedef TMTask *TMTaskPtr;
-
-
- #ifdef __cplusplus
- extern "C" {
- #endif
- #pragma parameter InsTime(__A0)
- pascal void InsTime(QElemPtr tmTaskPtr)
- = 0xA058;
- #pragma parameter InsXTime(__A0)
- pascal void InsXTime(QElemPtr tmTaskPtr)
- = 0xA458;
- #pragma parameter PrimeTime(__A0,__D0)
- pascal void PrimeTime(QElemPtr tmTaskPtr,long count)
- = 0xA05A;
- #pragma parameter RmvTime(__A0)
- pascal void RmvTime(QElemPtr tmTaskPtr)
- = 0xA059;
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-